package com.polaris.live.widget

import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.widget.LinearLayout
import com.polaris.live.databinding.LayoutContributionViewBinding

/**
 * 贡献榜View
 * @author Created by 天晴 on 2024/5/28 16:11
 * @since 1.0.0
 **/
class ContributionView(context: Context?, attrs: AttributeSet?) : LinearLayout(context, attrs) {

    private val mBinding = LayoutContributionViewBinding.inflate(LayoutInflater.from(context), this)


    fun showGainCoins(coins: String) {
        mBinding.beansTv.text = coins

    }
}